<%--
  Created by IntelliJ IDEA.
  User: cf
  Date: 2024/5/30
  Time: 9:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8">
    <title>订单详情</title>
    <link rel="stylesheet" type="text/css" href="./css/allorder.css">
    <script type="text/javascript" src="./js/jquery-1.12.4.min.js" ></script>
<%--    <script type="text/javascript" src="/js/common.js"></script>--%>
</head>
<body>
<table>
    <thead>
    <tr>
        <th>产品名称</th>
        <th>图片</th>
        <th>产品单价</th>
        <th>产品数量</th>
    </tr>
    </thead>
    <tbody>
    <!-- 在这里添加订单数据 -->
<c:forEach var="product_dto" items="${detail_dto_list}">
    <tr>

            <td>${product_dto.PRODUCT_NAME}</td>
            <td><img src="images/${product_dto.PRODUCT_FILENAME}" alt="图片未加载" width="30px" height="30px"></td>
            <td>￥${product_dto.PRODUCT_PRICE}</td>
            <td>${product_dto.QUANTITY}</td>
    </tr>
    </c:forEach>
    </tbody>
</table>

</body>
</html>
